using Godot;
using System;

public partial class NCharacter : Node2D
{
	[Export] public float mLife;
	[Export] public float mMagic;
	[Export] public float mMoveSpeed;

	[Export] public CChaData mChaData;
	// Called when the node enters the scene tree for the first time.
	public override void _Ready()
	{
		// mChaData.mLife = 1000;
		// ResourceSaver.Save(mChaData, "res://P8_资源/吕布2.tres");
		mChaData = mChaData.copy();
	}

	// Called every frame. 'delta' is the elapsed time since the previous frame.
	public override void _Process(double delta)
	{
	}

	public virtual bool canAttack()
	{
		return true;
	}
}
